<%
=begin
apps: kafka
platforms: kubernetes, tanzu-application-catalog
id: enable_metrics
title: Enable metrics
category: administration
weight: 20
highlight: 20
=end %>

The chart can optionally start two metrics exporters:

* Kafka exporter, to expose Kafka metrics. By default, it uses port 9308.
* JMX exporter, to expose JMX metrics. By default, it uses port 5556.

To create a separate Kafka exporter, use the parameter below:

    metrics.kafka.enabled: true

To expose JMX metrics to Prometheus, use the parameter below:

    metrics.jmx.enabled: true

* To enable Zookeeper chart metrics, use the parameter below:

    zookeeper.metrics.enabled: true
